<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
  <head>
 <title>艺术品管理表</title>    
	<meta http-equiv="pragma" content="艺博客，装点生活">
	<meta http-equiv="cache-control" content="艺博客为书画爱好者提供服务平台">
	<link href="manage/css/table.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="${pageContext.request.contextPath}/favicon.ico" type="text/css" />
	<style>
	  .tt{
	     margin: 0 auto;
	     border-collapse: collapse;
	     width: 100%;
	  }
      .tt tr th, .tt tr td{
           border: 2px solid #f0f0f0;
           text-align: center;
           padding: 3px;
           margin: 5px;
           font: 14px/25px "微软雅黑";
      
      }
      .tt tr:nth-child(odd){
          background-color: #fbfbfb;
          
      }
	  .tt tr:nth-child(even){
          background-color: #fff;
      }
      
     .tt tr:first-child{
        background-color: #E5E5E5;
     }
      
      .tt tr:not(:first-child):hover {
	    background-color: #FFEC8B;
      } 
      
	</style>
	<style type="text/css">
	.tr h3 {
	  text-
	}
	
	</style>
	
</head>
<body>
  <div class="lj">
    <h2 style="text-align:center;padding-top:20px;">艺术品管理</h2>
    <div class="clear" style="width:100%;">
        <div class="left">
            <ul id="one">
    <table class="tt">
       <tr>
          <h3><font size="4" color="#4B0082">画品分类管理</font> </h3>
          <th style="width: 50px">编号</th>
          <th style="width: 100px"> 画品关联编号</th>
          <th style="width: 100px"> 画品分类分类</th>
          <th style="width: 100px">功能操作</th>
       </tr>
       <c:forEach items="${addList }" var="i">
       <tr> 
         <td style="width: 150px">${i.id}</td>
         <td style="width: 150px">${i.typeID}</td>
         <td style="width: 150px">${i.art_type}</td>
         <td>
          <!--  <a href="##" ><span class="bigalt">更改</span></a> -->
           <a href="hartproduct.do?deleteID=${i.id}" ><span class="bigalt">删除</span></a>
         </td>
       </tr>       
         </c:forEach>
       <tr>
         <td colspan="100">
           <div>
             <form action="${pageContext.request.contextPath}/hartproduct.do" method="post">
                <input type="text"  name="addtypeID" class="inpo"  placeholder="画品关联编号">
                <input type="text"  name="addData" class="inpo"  placeholder="画品分类分类">
                <input type="submit"  class="bigadd" value="添加">
               </form>
            </div>
         </td>
         
       </tr>
    
   </table> 
            
   <br>
                
    <table class="tt">
       <tr>
          <h3><font size="4" color="#4B0082">题材分类管理</font> </h3>
          <th style="width: 50px">编号</th>
          <th style="width: 50px">题材关联编号</th>
          <th style="width: 100px"> 题材分类分类</th>
          <th style="width: 100px"> 题材分类关联</th>
          <th style="width: 100px"> 题材关联编号</th>
          <th style="width: 100px">功能操作</th>
       </tr>
       <c:forEach items="${addThemeList }" var="i">
       <tr> 
         <td style="width: 150px">${i.id}</td>
         <td style="width: 150px">${i.t_id}</td>
         <td style="width: 150px">${i.t_type}</td>
         <td style="width: 150px">${i.art_type}</td>
         <td style="width: 150px">${i.typeID}</td>
         <td>
           <a href="hartproduct.do?ThemeID=${i.id}" ><span class="bigalt">删除</span></a>
         </td>
       </tr>       
         </c:forEach>
       <tr>
         <td colspan="100">
           <div>
             <form action="${pageContext.request.contextPath}/hartproduct.do" method="post">
                <input type="text"  name="t_idTheme" class="inpo" placeholder="题材关联编号">
                <input type="text"  name="t_typeTheme" class="inpo" placeholder="题材分类分类">
                <input type="text"  name="art_typeTheme" class="inpo" placeholder="题材分类关联">
                <input type="text"  name="typeIDTheme" class="inpo" placeholder="题材关联编号">
                <input type="submit"  class="bigadd" value="添加">
               </form>
            </div>
         </td>
         
       </tr>
    
   </table>             
                
 <br>
                
    <table class="tt">
       <tr>
          <h3><font size="4" color="#4B0082">适合场所管理</font> </h3>
          <th style="width: 50px">编号</th>
          <th style="width: 50px">适合关联编号</th>
          <th style="width: 100px"> 适合分类分类</th>
          <th style="width: 100px"> 适合分类关联</th>
          <th style="width: 100px"> 适合关联编号</th>
          <th style="width: 100px">功能操作</th>
       </tr>
       <c:forEach items="${occationList }" var="i">
       <tr> 
         <td style="width: 150px">${i.id}</td>
         <td style="width: 150px">${i.o_id}</td>
         <td style="width: 150px">${i.occations}</td>
         <td style="width: 150px">${i.t_type}</td>
         <td style="width: 150px">${i.t_id}</td>
         <td>
           <a href="hartproduct.do?occationId=${i.id}" ><span class="bigalt">删除</span></a>
         </td>
       </tr>       
         </c:forEach>
       <tr>
         <td colspan="100">
           <div>
             <form action="${pageContext.request.contextPath}/hartproduct.do" method="post">
                <input type="text"  name="o_idOccation" class="inpo" placeholder="适合关联编号">
                <input type="text"  name="occationsOccation" class="inpo" placeholder="适合分类分类">
                <input type="text"  name="t_typeOccation" class="inpo" placeholder="适合分类关联">
                <input type="text"  name="t_idOccation" class="inpo" placeholder="适合关联编号">
                <input type="submit"  class="bigadd" value="添加">
               </form>
            </div>
         </td>
         
       </tr>
    
   </table>                             
             
             
                    
<br>
               
   <table class="tt">
      <tr>
         <h3><font size="4" color="#4B0082">价格范围管理</font> </h3>
         <th style="width: 50px">编号</th>
      <th style="width: 50px">价格关联编号</th>
      <th style="width: 100px">价格范围</th>
      <th style="width: 100px">功能操作</th>
   </tr>
   <c:forEach items="${RangesList}" var="i">
   <tr> 
     <td style="width: 150px">${i.id}</td>
     <td style="width: 150px">${i.rg_id}</td>
     <td style="width: 150px">${i.rg_name}</td>
     <td>
       <a href="hartproduct.do?RangesId=${i.id}" ><span class="bigalt">删除</span></a>
     </td>
   </tr>       
     </c:forEach>
   <tr>
     <td colspan="100">
       <div>
         <form action="${pageContext.request.contextPath}/hartproduct.do" method="post">
         <input type="text"  name="rg_idRanges" class="inpo" placeholder="价格关联编号">
         <input type="text"  name="rg_nameRanges1" class="inpo" placeholder="价格范围">—
         <input type="text"  name="rg_nameRanges2" class="inpo" placeholder="价格范围">
         <input type="submit"  class="bigadd" value="添加">
        </form>
         </div>
      </td>
      
    </tr>
 
</table>            
         
        </div>        
</div>
</body>
</html>